Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 61601
Collapse All | Expand All

(-)kftpgrabber-0.4.0/src/ftp/kftpclient.cpp (+1 lines)
Lines 18-23 Link Here
18
18
19
#include <sys/ioctl.h>
19
#include <sys/ioctl.h>
20
20
21
#include <errno.h>
21
#include <ksocks.h>
22
#include <ksocks.h>
22
#include <ksockaddr.h>
23
#include <ksockaddr.h>
23
#include <klocale.h>
24
#include <klocale.h>
(-)kftpgrabber-0.4.0/src/ftp/kftpclient.h (-1 / +1 lines)
Lines 30-36 Link Here
30
30
31
namespace KFTPQueue {
31
namespace KFTPQueue {
32
  class Transfer;
32
  class Transfer;
33
};
33
}
34
34
35
/**
35
/**
36
@author Jernej Kos
36
@author Jernej Kos
(-)kftpgrabber-0.4.0/src/kftpqueueconverter.h (-1 / +1 lines)
Lines 15-21 Link Here
15
15
16
namespace KFTPQueue {
16
namespace KFTPQueue {
17
  class Transfer;
17
  class Transfer;
18
};
18
}
19
19
20
/**
20
/**
21
This class provides queue export/import to XML files.
21
This class provides queue export/import to XML files.
(-)kftpgrabber-0.4.0/src/kftpqueue.cpp (-2 / +2 lines)
Lines 25-30 Link Here
25
#include <qdir.h>
25
#include <qdir.h>
26
#include <qobjectlist.h>
26
#include <qobjectlist.h>
27
27
28
#include <math.h>
29
28
KFTPQueueManager *FTPQueueManager;
30
KFTPQueueManager *FTPQueueManager;
29
31
30
using namespace KFTPQueue;
32
using namespace KFTPQueue;
Lines 46-52 Link Here
46
  // Create the queue converter object
48
  // Create the queue converter object
47
  m_converter = new KFTPQueueConverter(this);
49
  m_converter = new KFTPQueueConverter(this);
48
}
50
}
49
50
void KFTPQueueManager::insertTransfer(Transfer *transfer)
51
void KFTPQueueManager::insertTransfer(Transfer *transfer)
51
{
52
{
52
  transfer->setId(p_lastQID++);
53
  transfer->setId(p_lastQID++);
Lines 228-234 Link Here
228
      // Unknown file size - ignore it
229
      // Unknown file size - ignore it
229
    }
230
    }
230
  }
231
  }
231
232
  return (int) round(p_percentage/p_queueTransfers.count());
232
  return (int) round(p_percentage/p_queueTransfers.count());
233
}
233
}
234
234
(-)kftpgrabber-0.4.0/src/kftpqueueprocessor.h (-1 / +1 lines)
Lines 17-23 Link Here
17
17
18
namespace KFTPQueue {
18
namespace KFTPQueue {
19
  class Transfer;
19
  class Transfer;
20
};
20
}
21
21
22
class KFTPSession;
22
class KFTPSession;
23
23
(-)kftpgrabber-0.4.0/src/kftptransfer.cpp (-1 / +1 lines)
Lines 133-137 Link Here
133
  }
133
  }
134
}
134
}
135
135
136
};
136
}
137
#include "kftptransfer.moc"
137
#include "kftptransfer.moc"
(-)kftpgrabber-0.4.0/src/kftptransferdir.cpp (-1 / +1 lines)
Lines 221-224 Link Here
221
  delayedExecute();
221
  delayedExecute();
222
}
222
}
223
223
224
};
224
}
(-)kftpgrabber-0.4.0/src/kftptransferdir.h (-1 / +1 lines)
Lines 58-63 Link Here
58
    void slotDirScanDone();
58
    void slotDirScanDone();
59
};
59
};
60
60
61
};
61
}
62
62
63
#endif
63
#endif
(-)kftpgrabber-0.4.0/src/kftptransferfile.cpp (-1 / +1 lines)
Lines 325-328 Link Here
325
    disconnect(parent());
325
    disconnect(parent());
326
}
326
}
327
327
328
};
328
}
(-)kftpgrabber-0.4.0/src/kftptransferfile.h (-1 / +1 lines)
Lines 55-60 Link Here
55
    void slotClientConnected(bool success);
55
    void slotClientConnected(bool success);
56
};
56
};
57
57
58
};
58
}
59
59
60
#endif
60
#endif
(-)kftpgrabber-0.4.0/src/kftptransfer.h (-1 / +1 lines)
Lines 268-273 Link Here
268
    void transferAbort(long id);
268
    void transferAbort(long id);
269
};
269
};
270
270
271
};
271
}
272
272
273
#endif
273
#endif
(-)kftpgrabber-0.4.0/src/misc/desencryptor.cpp (-1 / +1 lines)
Lines 90-93 Link Here
90
  return m_output;
90
  return m_output;
91
}
91
}
92
92
93
};
93
}
(-)kftpgrabber-0.4.0/src/misc/desencryptor.h (-1 / +1 lines)
Lines 40-45 Link Here
40
    void DESExec(const QString &str, int mode);
40
    void DESExec(const QString &str, int mode);
41
};
41
};
42
42
43
};
43
}
44
44
45
#endif
45
#endif
(-)kftpgrabber-0.4.0/src/misc/misc.cpp (-3 / +3 lines)
Lines 101-108 Link Here
101
  QPixmap pixmap;
101
  QPixmap pixmap;
102
102
103
  QString colorHex = "+      c " + color;
103
  QString colorHex = "+      c " + color;
104
  (char*)color_base_xpm[2] = colorHex.ascii();
104
  //(char*)color_base_xpm[2] = colorHex.ascii();
105
105
  color_base_xpm[2] = (char*) colorHex.ascii();
106
  pixmap = QPixmap((const char**) color_base_xpm);
106
  pixmap = QPixmap((const char**) color_base_xpm);
107
107
108
  return pixmap;
108
  return pixmap;
Lines 135-141 Link Here
135
    tmp[101] = '\0';
135
    tmp[101] = '\0';
136
136
137
    for(int i = 4; i < 20; i++) {
137
    for(int i = 4; i < 20; i++) {
138
      (char*)progress_base_xpm[i] = tmp;
138
      progress_base_xpm[i] = (char*) tmp;
139
    }
139
    }
140
140
141
    pixmap = QPixmap((const char**) progress_base_xpm);
141
    pixmap = QPixmap((const char**) progress_base_xpm);

Return to bug 61601